package com.blensmile.utils;

import android.view.animation.Interpolator;
import android.widget.PopupWindow;

/**
 * Created by Blensmile on 2017/3/9.
 */

public class BlenBounceInterpolator implements Interpolator{


    @Override
    public float getInterpolation(float input) {

        if(input<0.3334f){
            return 9*input*input;
        }else if(input<0.6334f){
            float f = input-0.5f;
            return 9*f*f+0.5f;
        }else{
            float f= input-0.8334f;
            return 9*f*f+0.75f;
        }
    }
}
